<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="UTF-8"/>
		<title></title>
	</head>
<!--<script type="text/javascript" src="../../../../js/jquery.js" ></script>
<script type="text/javascript" src="../../../../js/bootstrap.min.js" ></script>

<link rel="stylesheet" href="../../../../css/bootstrap.min.css" />-->
<link th:href="@{/css/bootstrap.min.css}"  ></link>
<script th:href="@{/js/jquery.js}"  ></script>
<script th:href="@{/js/bootstrap.min.js}"  ></script>

	<style>
		#User{
			position: absolute;
	 		top: 90px;
	 		left:350px;
	 		width:1000px;
	 		height: 550px;
			margin:10px auto 5px auto;
			clear:both;
			/*border: solid 1px darkgray;
			border-top-right-radius: 10px; 
			border-top-left-radius: 10px; 
			border-bottom-right-radius:10px;
			border-bottom-left-radius:10px; */
		}
		
	</style>
	
	<body>
	
		<div th:replace="Top :: head"></div>
		<div th:replace="Top :: left"></div>+
		<div id="User">
			<form id="formTag" action="/AddOne" method="POST" class="form-horizontal" enctype="multipart/form-data">
				
				<div class="form-group"><label class="col-sm-2 control-label">用户姓名：</label>
					<div class="col-sm-10">
						<input id="u_username"  name="u_username" type="text" class="form-control" />
					</div>
				</div>

                <div class="form-group"><label class="col-sm-2 control-label">用户密码：</label>
					<div class="col-sm-10">
						<input id="u_password"  name="u_password" type="text" class="form-control" />
					</div>
				</div>

				<div class="form-group"><label class="col-sm-2 control-label">用户昵称：</label>
					<div class="col-sm-10">
						<input id="u_nickname"  name="u_nickname" type="text" class="form-control" />
					</div>
				</div>

				<div class="form-group"><label class="col-sm-2 control-label">用户性别：</label>
					<div class="col-sm-10">
						<input id="u_sex"  name="u_sex" type="text" class="form-control" />
					</div>
				</div>

				<div class="form-group"><label class="col-sm-2 control-label">用户电话：</label>
					<div class="col-sm-10">
						<input id="u_phone"  name="u_phone" type="text" class="form-control" />
					</div>
				</div>

				<div class="form-group"><label class="col-sm-2 control-label">入职时间：</label>
					<div class="col-sm-10">
						<input id="u_jointime"  name="u_jointime" type="text" class="form-control" />
					</div>
				</div>


				<div class="hr-line-dashed"></div>
				<div class="form-group">
					<div class="col-sm-4 col-sm-offset-2">
						<button id="submitButton1" class="btn btn-primary" onclick="javascrtpt:window.location.href='holidayIndex'" type="button">&nbsp;&nbsp;&nbsp;&nbsp;返&nbsp;&nbsp;&nbsp;&nbsp;回&nbsp;&nbsp;&nbsp;&nbsp;</button>
					</div>
					<div class="col-sm-4 col-sm-offset-2">
						<button id="submitButton" class="btn btn-primary" type="button">&nbsp;&nbsp;&nbsp;&nbsp;提&nbsp;&nbsp;&nbsp;&nbsp;交&nbsp;&nbsp;&nbsp;&nbsp;</button>
					</div>
				</div>
			</form>
			

		<!--<from id="from"  action="/update" method="POST" > 
				
				<table th:each="userOne:${userOne}">
					<tr>
						<td>用户姓名:</td>
						<td><input th:value="${userOne.u_username}"  id="u_username" name="u_username"/></td>
					</tr>
					<tr>
						<td>用户昵称:</td> 
						<td><input th:value="${userOne.u_nickname}" id="u_nickname" name="u_nickname"/></td>
					</tr>
					<tr>
						<td>用户性别:</td>
						<td><input th:value="${userOne.u_sex}" id="u_sex" name="u_sex"/></td>
					</tr>
					<tr>
						<td>用户电话:</td>
						<td><input th:value="${userOne.u_phone}" id="u_phone" name="u_phone"/></td>
					</tr>
					<tr>
						<td>入职时间:</td>
						<td><input th:value="${userOne.u_jointime}" id="u_jointime" name="u_jointime"/></td>
					</tr>
					<tr>
						<td ><button id="tijiao" type="button">提交</button></td>
						<td ><button type="button"><a href="UserManeger">返回</a></button></td>
					</tr>
					
				</table>
			
			</from>	-->
			
		</div>
	</body>
	<script>
		//提交
	$("#submitButton").click(function(){
		$("#formTag").submit();
	});
	</script>
</html>


